<?php
      

      $hostname = "localhost";
      $username = "";
      $passwordsc = "";
      $dbName = "ieeetsec";

      $conn=MYSQL_CONNECT("$hostname", "$username", "$passwordsc") OR DIE("Unable to connect to database");


      @mysql_select_db( "$dbName") or die( "Unable to select database");


	if(!get_magic_quotes_gpc())

{

  $_GET = array_map('mysql_real_escape_string', $_GET); 

  $_POST = array_map('mysql_real_escape_string', $_POST); 

  $_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);

}

else

{  

   $_GET = array_map('stripslashes', $_GET); 

   $_POST = array_map('stripslashes', $_POST); 

   $_COOKIE = array_map('stripslashes', $_COOKIE);

   $_GET = array_map('mysql_real_escape_string', $_GET); 

   $_POST = array_map('mysql_real_escape_string', $_POST); 

   $_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);

}




?>

